const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  noticeNum: state => state.app.noticeNum,
  token: state => state.user.token,
  id: state => state.user.id,
  userName: state => state.user.userName,
  deptName: state => state.user.deptName,
  roles: state => state.user.roles,
  fieldCategorys: state => state.options.fieldCategorys,
  fieldConditionItems: state => state.options.fieldConditionItems,
  computeOperates: state => state.options.computeOperates,
  collectOptions: state => state.options.collectOptions,
  fieldList: state => state.options.fieldList,
  resourceIsShowPlatform: state => state.resourceInfo.platform,
  resourceShowId: state => state.resourceInfo.resourceId,
  resourceIsShowOrgan: state => state.resourceInfo.organization,
  jobNumber: state => state.user.userInfo.jobNumber,
  postList: state => state.user.postList
};
export default getters;
